package com.neuedu.carsystem.service;

import java.util.List;
import java.util.Map;

import com.neuedu.carsystem.dao.CarDao;
import com.neuedu.carsystem.model.Car;

public interface CarService {
		//查寻车辆
		public List<Car> findCarAll(Map<String, Object> map);
		//根据id查询
		public Car findById(int id);
		//添加车辆
		public int addCar(Car u);
		//删除车辆
		public int deleteCar(int id);
		//修改车辆
		public int updateCar(int u);
		//统计表记录
		public int countCar();
}
